package com.demo.getstream;

import java.util.stream.Collectors;
import java.util.stream.Stream;

public class GetFromValue {
    public static void main(String[] args) {
        Stream<String> stream = Stream.of("Java 8 ", "Lambdas ", "In ", "Action");
        stream.map(String::toUpperCase).forEach(System.out::println);
    }
}
